export const projectInfoColumns = [
  {
    title: '',
    dataIndex: 'title'
  },
  {
    title: '备案项目经理',
    dataIndex: 'BAManager',
    customRender: (text, row, index) => {
      return <BaseInput v-model={row.BAManager}></BaseInput>
      let obj = {
        children: 2323,
        // children: <BaseInput v-model={row.BAManager}></BaseInput>,
        attrs: {}
      } 
      if (index == 5) {
        obj.attrs.colSpan = 2
      }
      return obj
    }
  },
  {
    title: '实际项目经理',
    dataIndex: 'SJManager',
    customRender: (text, row, index) => {
      let obj = {
        children: text,
        attrs: {}
      }
      if (index == 5) {
        obj.attrs.colSpan = 0
      }
      return obj
    }
  }
]
// 关键绩效指标完成情况
export const targetComplete = [
  {
    title: '指标',
    dataIndex: 'name'
  },
  {
    title: '指标值',
    dataIndex: 'remarks',
    scopedSlots: { customRender: 'remarks' }
  },
  {
    title: '得分',
    dataIndex: 're1marks',
    scopedSlots: { customRender: 're1marks' }
  }
]
// 风险情况统计
export const riskStatistics = [
  {
    title: '序号',
    width: 80,
    dataIndex: 'index',
    customRender() {
      return arguments[2] + 1
    }
  },
  {
    title: '滞后原因分析',
    dataIndex: 'analysis',
    scopedSlots: { customRender: 'analysis' }
  },
  {
    title: '采取措施',
    dataIndex: 'takeSteps',
    scopedSlots: { customRender: 'takeSteps' }
  },
  {
    title: '是否完成',
    dataIndex: 'complete',
    scopedSlots: { customRender: 'complete' }
  },
  {
    title: '分公司责任人',
    dataIndex: 'branchCompanyDutyId',
    scopedSlots: { customRender: 'branchCompanyDutyId' }
  },
  {
    title: '项目责任人',
    dataIndex: 'projectDutyId',
    scopedSlots: { customRender: 'projectDutyId' }
  },
  {
    title: '完成时间',
    dataIndex: 'endTime',
    scopedSlots: { customRender: 'endTime' }
  },
  {
    title: '备注',
    dataIndex: 'remarks',
    scopedSlots: { customRender: 'remarks' }
  },
  {
    title: '操作',
    dataIndex: 'action',
    width: "8%",
    scopedSlots: { customRender: 'action' }
  }
]
// 节点、劳动力管控问题
export const controlProblem = [
  {
    title: '序号',
    width: 80,
    dataIndex: 'index',
    customRender() {
      return arguments[2] + 1
    }
  },
  {
    title: '存在问题说明',
    dataIndex: 'problem',
    scopedSlots: { customRender: 'problem' }
  },
  {
    title: '纠偏措施',
    dataIndex: 'correctiveAction',
    scopedSlots: { customRender: 'correctiveAction' }
  },
  {
    title: '完成时间',
    dataIndex: 'completeTime',
    scopedSlots: { customRender: 'completeTime' }
  },
  {
    title: '备注',
    dataIndex: 'remarks',
    scopedSlots: { customRender: 'remarks' }
  },
  {
    title: '操作',
    dataIndex: 'action',
    width: "8%",
    scopedSlots: { customRender: 'action' }
  }
]
// 分包、分供招采问题
export const miningProblem = [
  {
    title: '序号',
    width: 80,
    dataIndex: 'index',
    customRender() {
      return arguments[2] + 1
    }
  },
  {
    title: '存在问题说明',
    dataIndex: 'problem',
    scopedSlots: { customRender: 'problem' }
  },
  {
    title: '纠偏措施',
    dataIndex: 'correctiveAction',
    scopedSlots: { customRender: 'correctiveAction' }
  },
  {
    title: '完成时间',
    dataIndex: 'completeTime',
    scopedSlots: { customRender: 'completeTime' }
  },
  {
    title: '备注',
    dataIndex: 'remarks',
    scopedSlots: { customRender: 'remarks' }
  },
  {
    title: '操作',
    dataIndex: 'action',
    width: "8%",
    scopedSlots: { customRender: 'action' }
  }
]

export const designProblems = [
  {
    title: '序号',
    width: 80,
    dataIndex: 'index',
    customRender() {
      return arguments[2] + 1
    }
  },
  {
    title: '存在问题说明',
    dataIndex: 'problem',
    scopedSlots: { customRender: 'problem' }
  },
  {
    title: '纠偏措施',
    dataIndex: 'correctiveAction',
    scopedSlots: { customRender: 'correctiveAction' }
  },
  {
    title: '完成时间',
    dataIndex: 'completeTime',
    scopedSlots: { customRender: 'completeTime' }
  },
  {
    title: '备注',
    dataIndex: 'remarks',
    scopedSlots: { customRender: 'remarks' }
  },
  {
    title: '操作',
    dataIndex: 'action',
    width: "8%",
    scopedSlots: { customRender: 'action' }
  }
]
export const nodeStatistics = [
  {
    title: '序号',
    width: 80,
    dataIndex: 'index',
    customRender() {
      return arguments[2] + 1
    }
  },
  {
    title: '节点名称',
    dataIndex: 'nodeName',

  }, {
    title: '节点计划完成时间',
    dataIndex: 'palnTime',

  }, {
    title: '完成情况',
    dataIndex: 'situation',

  }, {
    title: '完成时间',
    dataIndex: 'completeTime',

  }
]

export const nextmonth = [
  {
    title: '序号',
    width: 80,
    dataIndex: 'index',
    customRender() {
      return arguments[2] + 1
    }
  },
  {
    title: '节点名称',
    dataIndex: 'nodeName',
  }, {
    title: '节点计划完成时间',
    dataIndex: 'nodePlanTime',
  },
]